import {createApp} from 'vue';
import App from './App.vue';
import './assets/styles/global.css'
const app = createApp(App);//app 类似于以前 vm
console.log(app);
app.mount('#app');

fetch('/api/users/1')
.then(response=>response.json())
.then(result=>console.log(result))